﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DXApplication2
{
    class clsPhong
    {
        string maphong;
        int succhua;
        List<string> cathi;
        public clsPhong()
        {
            maphong = "";
            succhua = 0;
            cathi = new List<string>(4);
        }
        public clsPhong(string mp, int sc)
        {
            maphong = mp;
            succhua = sc;
            cathi = new List<string>();
            cathi.Add("90");
            cathi.Add("120");
            cathi.Add("90");
            cathi.Add("120");
        }
        public string getcathi(int i)
        {
            return cathi[i];
        }
        public int getsucchua()
        {
            return succhua;
        }
        public int getthoigiancathi(int i)
        {
            return int.Parse(cathi[i]);
        }
        public void setcathi(int i)
        {
            cathi[i] = "0";
        }
        public string getmaphong()
        {
            return maphong;
        }
    }
}
